home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality StarterKit / Virtual Reality StarterKit.iso / swt / vista / copyfile.swt / SWTGAME.BAT < prev    next >
Encoding:
DOS Batch File  |  1993-10-12  |  7.3 KB  |  178 lines

  1. @echo off
  2. :start
  3. cls
  4. echo.
  5. echo.
  6. echo    Welcome to Vistapro 1.0.
  7. echo.
  8. echo.
  9. echo  Choose one of the selections below:
  10. echo.
  11. echo     1. RUN Vistapro 1.0. 
  12. echo     2. READ the instructions file. 
  13. echo     3. PRINT the readme.txt file. (Instructions on use)
  14. echo     4. QUIT.
  15. echo.
  16. echo     Please enter the number for your choice;   Enter 1-4 only.
  17. query
  18.  
  19. if errorlevel = 5 goto invalid
  20. if errorlevel = 4 goto end
  21. if errorlevel = 3 goto print
  22. if errorlevel = 2 goto read
  23. if errorlevel = 1 goto run
  24.  
  25. :invalid
  26. cls
  27. echo Invalid option
  28. goto start
  29. goto end
  30.  
  31. REM Run game   
  32. :run
  33. vistapro.exe 
  34. goto end
  35.  
  36. REM Print Readme
  37. :print
  38. cls
  39. echo.
  40. echo Ready printer and
  41. pause
  42. print readme.txt
  43. goto start
  44. goto end
  45.  
  46. REM display readme
  47. :read
  48. cls
  49. echo Vistapro Installation and Quickstart
  50. echo.
  51. echo Thank you for purchasing Vistapro.  Vistapro requires: IBM PC, XT, AT 
  52. echo or true compatible running MSDOS or PCDOS.  640 KB of memory. Microsoft 
  53. echo compatible mouse and driver. Hard drive with at least 3 MB free space. VGA 
  54. echo or SVGA (VESA compatible) graphics card.
  55. echo.
  56. echo Vistapro allows you to explore real and imaginary landscapes by rendering 
  57. echo beautiful pictures from landscape data. The real landscapes are made from 
  58. echo U.S. Geological Survey Digital Elevation Model data. You can also explore 
  59. echo billions of imaginary fractal landscapes generated from data produced by 
  60. echo Vistapro itself. Vistapro can also produce a series of images to be played 
  61. echo back for an animated fly through the landscapes.
  62. echo.
  63. echo Running Vistapro
  64. echo.
  65. echo To run Vistapro, select the run option. You will be presented with a screen that 
  66. echo.
  67. pause
  68. cls
  69. echo.
  70. echo contains a topographical view of the landscape and a control panel. The 
  71. echo topographical view (left side of screen) is initially green since no 
  72. echo landscape is loaded. The mouse is used to select options on the control 
  73. echo panel and to place the "Target" and "Camera" indicators on the topographic 
  74. echo view.
  75. echo.
  76. echo Using Vistapro
  77. echo.
  78. echo To render a landscape image, a landscape needs to be either loaded or 
  79. echo generated. To load a landscape, position the mouse pointer over the "Load" 
  80. echo button at the top of the screen. Now press and hold the left mouse button. 
  81. echo A menu of other options will drop down.  Now move the mouse (while still 
  82. echo holding the left button) to the first option "Load DEM" and release the 
  83. echo button. A file requestor will appear. In the center there will be a list of 
  84. echo directories. Click the left mouse button on the "DEM" directory. A list of 
  85. echo files will now be presented. Click on the file "BigSur.DEM". Notice that 
  86. echo above the list, right after "Filename:", is the name "BigSur.DEM". Click 
  87. echo on "Load Vista DEM" to load the selected landscape.
  88. echo.
  89. pause
  90. cls
  91. echo.
  92. echo After loading, the topographical view will be of BigSur.  Vistapro's 
  93. echo topographical map of the landscape uses shades of green to represent the 
  94. echo lowest altitudes, browns to represent the middle altitudes, and grey/whites 
  95. echo for the highest altitudes. Blue represents water.
  96. echo.
  97. echo Vistapro uses a simple target/camera model for direction control. Notice at 
  98. echo the top left of the control panel (right side of screen) the button "Target" 
  99. echo is indented. With this option selected, the mouse pointer is used to select 
  100. echo a spot on the topographical map for the "Target" to be placed. Pick a spot 
  101. echo on the map, try one of the mountain tops. Now click the left mouse button. 
  102. echo A little black plus sign (+) will appear on the map. This indicates the 
  103. echo direction the "Camera" will be pointing. Notice the "X", "Y", and "Z" values 
  104. echo on the control panel below the "Target" button. Values can be entered 
  105. echo manually in these numerical gadgets.
  106. echo.
  107. echo To place the "Camera", click on the "Camera" button on the control panel. 
  108. echo Now click on the topographical map. Try the water area (left and bottom of 
  109. echo topographical map).
  110. echo.
  111. echo Click on the "Render" button on the control panel (bottom left). The image 
  112. echo.
  113. pause
  114. cls
  115. echo is now being rendered. A status line located right above the topographical 
  116. echo map indicates progress. Once the palette and other items have been 
  117. echo calculated, the image will be drawn to the screen.
  118. echo.
  119. echo hen the border of the screen flashes white, then the rendering of the image 
  120. echo is complete. Notice how the landscape has a coarse look to it. This is 
  121. echo controlled with the "Poly" setting on the control panel. Click the left mouse 
  122. echo button to return to the control panel/topographical view. Right below the 
  123. echo word "Poly" on the control panel are four buttons, "l", "2", "4", "8". These 
  124. echo control the relative coarseness of the landscape image. The larger the 
  125. echo setting, the larger the polygons used to draw the image. A size of "8" 
  126. echo generates l/64th as many polygons as a size of "1". It takes longer to 
  127. echo render the image on the smaller settings, so the larger setting can be used 
  128. echo to get a rough idea of what the picture will look like.  After the camera 
  129. echo positioning is just right, the smaller setting is used for the final image. 
  130. echo To abort a rendering in progress, click the right mouse button or press the 
  131. echo ESC key.
  132. echo.
  133. echo Click on the "2" button.
  134. echo.
  135. echo Camera and target positions can be changed manually. Let's change the 
  136. echo.
  137. pause
  138. cls
  139. echo altitude (or Z axis) of the camera. Below the "Camera" button are the "X", 
  140. echo "Y", and "Z" values for the camera. Click on the "Z" value. A cursor now 
  141. echo appears in the box, allowing the value to be entered from the keyboard. 
  142. echo Delete the existing value and enter 1500 followed by pressing the ENTER key. 
  143. echo Now click on the "Z" button. This locks the Z values for the camera and 
  144. echo target. Normally the Z value follows the terrain. Click on the "Render" 
  145. echo button.
  146. echo.
  147. echo After the image is done, notice how the landscape looks more natural. Also 
  148. echo the increased altitude has probably given you a better view. To get an even 
  149. echo smoother looking landscape, the "Blend" and "Gshade" buttons may be used. 
  150. echo The "Blend" button helps reduce the coarse texture of distant parts of the 
  151. echo landscape. With "Gshade" (Gouraud shading) selected, the landscape will have 
  152. echo a brush like feel to it, as if an artist had painted it.
  153. echo.
  154. echo To create imaginary landscapes, select the "Frac" button on the control 
  155. echo panel. A panel right below the "Frac" button will appear. Click on the 
  156. echo "Random" button. This selects a random seed value for the fractal landscape 
  157. echo generator. An imaginary landscape will now be visible on the topographical 
  158. echo map. Try adding lakes, rivers, and trees to this landscape by clicking on 
  159. echo the appropriate buttons on the control panel. Since the "Z" value is locked, 
  160. echo.
  161. pause
  162. cls
  163. echo you can move the camera and still maintain the height of 1500. To change the 
  164. echo camera height, the "Z" button must be clicked on again.
  165. echo.
  166. echo There is obviously a great deal more to discover about this program, but you 
  167. echo should now have the basic idea of how Vistapro works. Take a look at the 
  168. echo manual and explore the many other options. Thanks again for your purchase of 
  169. echo Vistapro.
  170. echo.
  171. pause
  172. goto start
  173. goto end
  174.  
  175. :end
  176.  
  177.  
  178.